package com.guoxin.chapter1.t7;

/**
 * isAlive()判断线程是否处于活动状态
 *
 * @author guoxin
 * @date 2019/8/15
 */
public class Run {
    public static void main(String[] args) {
        MyThread thread = new MyThread();
        System.out.println("begin="+thread.isAlive());
        thread.start();
        System.out.println("end="+thread.isAlive());
    }
}
